package com.citic.netty.client.handler;

import com.citic.netty.client.bootstrap.BootStrapClient;
import com.citic.netty.common.protocol.response.LogoutResponsePacket;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

public class LogoutResponseHandler extends SimpleChannelInboundHandler<LogoutResponsePacket> {

	@Override
    protected void channelRead0(ChannelHandlerContext ctx, LogoutResponsePacket logoutResponsePacket) {
		BootStrapClient.isLogin = false;
    }

}
